package com.yuyou.fn.settlement.service;

import com.yuyou.fn.settlement.entity.BalanceLockRecord;
import com.github.wens.framework.service.ISuperService;

import java.math.BigDecimal;

/**
 *
 * BalanceLockRecord 表数据服务层接口
 *
 */
public interface IBalanceLockRecordService extends ISuperService<BalanceLockRecord,Long> {


    void lock(Long mainAccountId , String lockKey , BigDecimal amount , String remark );

    void unlock(Long mainAccountId, String lockKey, BigDecimal amount );

}